package com.tsj.model.controller;

import io.swagger.v3.oas.annotations.Hidden;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author taoshujian
 * @version 1.0
 * @since 2025-09-24 11:15:56
 */
@RestController
// @Hidden 注解：隐藏此接口，不会在Swagger文档中显示
@Hidden
public class HelloController {
    
    @GetMapping("/hello")
    @Hidden
    public String hello() {
        return "Hello, Spring Boot Web!";
    }

    @GetMapping("/")
    @Hidden
    public String index() {
        return "Welcome to TSJ Model Application!";
    }
}